package com.fangyi.yunmusic.mapper;

import com.fangyi.yunmusic.pojo.Song;
import com.fangyi.yunmusic.utils.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SongMapper extends MyMapper<Song> {

    public List<Song> selectSongByIds(@Param("ids") List<String> ids);

    public Integer getSongCount();
    int insert(Song song);

    int insertSelective(Song song);

    int deleteByPrimaryKey(Object o);

    int updateByPrimaryKey(Song song);

    int updateByPrimaryKeySelective(Song song);
}